WooCommerce\Square\Framework\PaymentGateway\Payment_Gateway_Payment_Form A

Total Complexity 59
Dependencies 2
Dependents 1
Total lines 823
Lines of code 257
Logical lines of code 112
Comment lines 411
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
get_saved_payment_method_title()
S
53 6 22
get_tokens()
S
59 6 15
get_credit_card_fields()
S
42 2 61
get_save_payment_method_checkbox_html()
S
57 5 15
tokenization_forced()
S
66 6 7
tokenization_allowed()
S
66 5 7
render_saved_payment_methods()
S
70 4 6
get_payment_form_description_html()
S
63 3 10
render_js()
S
57 2 15
get_use_new_payment_method_input_html()
S
61 2 11
get_payment_fields()
S
63 2 11
render_payment_fields()
S
74 2 5
get_saved_payment_methods_html()
S
63 2 10
get_saved_payment_method_html()
S
61 1 11
render_payment_field()
S
78 1 3
render_fieldset_start()
S
75 1 4
render_fieldset_end()
S
74 1 5
__construct()
S
74 1 5
render_payment_form_description()
S
81 1 3
render()
S
72 1 5
add_hooks()
S
63 1 9
default_new_payment_method()
S
82 1 3
has_tokens()
S
80 1 3
get_gateway()
S
82 1 3
get_manage_payment_methods_button_html()
S
65 1 8